package jiangzuo

import "aifuture.cloud/response/jiangzuo"

type JiangzuoMock struct {
	
}

func (j *JiangzuoMock) Detail(id int) (error, interface{}) {
    data := make(map[string]interface{})
    data["jiangzuo_id"] = id
    data["live_video"] = "https://data.interstellarx.cn:8085/data/download/videos/base_1.mp4"
    data["image_over"] = "https://www.lanboai.cn/gateway/system/images/8997b709256f49daa4483bf131fcc4c6.png"
	data["title"] = "赖博 深兰教育机器学习专家"
	data["desc"] = "【全连神经网络以及卷积神经网络】"
	data["course_jiangzuo_info"] = map[string]interface{}{
		"jiangzuo_id":id,
		"tearcher":"赖博",
		"catetory_name":"导师讲座",
		"catetory_id":1,
	}
	data["detail"] = map[string]interface{}{
		"teacher":"赖博",
		"intro":"深兰教育机器学习专家 德国博恩大学物理系博士，复旦大学博士后研究员主要研究机器学习在理论凝聚态物理中的各种问题应用",
		"markdowndata":`# 购买前请咨询工作人员详情：深兰教育王老师 17336292096
 ![这是图片]( https://www.lanboai.cn/gateway/system/images/17436502c1764d34a129f0d0d9a3eba6.png)`,
	}

	return nil,data
}

func (j *JiangzuoMock) List() (error, []*jiangzuo.Jiangzuo) {
	return nil,[]*jiangzuo.Jiangzuo{
		jiangzuo.NewJiangzuo(1,"https://www.lanboai.cn/gateway/system/images/8997b709256f49daa4483bf131fcc4c6.png",
			"赖博 深兰教育机器学习专家",
			"领域大揭秘：全连神经网络以及卷积神经网络",
			"领域大揭秘：全连神经网络以及卷积神经网络",
			"https://www.lanboai.cn/list/lecture/1688031235547299842",
		),
		jiangzuo.NewJiangzuo(2,"https://www.lanboai.cn/gateway/system/images/8997b709256f49daa4483bf131fcc4c6.png",
			"刘博 深兰教育信息学博士专家",
			"领域大揭秘：智慧城市相关数字化",
			"领域大揭秘：智慧城市相关数字化",
			"https://www.lanboai.cn/list/lecture/1695830921166123010",
		),
		jiangzuo.NewJiangzuo(3,"https://www.lanboai.cn/gateway/system/images/8997b709256f49daa4483bf131fcc4c6.png",
			"马博 深兰教育机器人专家",
			"领域大揭秘：自主导航、无人驾驶、机械手臂抓取",
			"领域大揭秘：自主导航、无人驾驶、机械手臂抓取",
			"https://www.lanboai.cn/list/lecture/1695831666326171650",
		),
		jiangzuo.NewJiangzuo(4,"https://www.lanboai.cn/gateway/system/images/8997b709256f49daa4483bf131fcc4c6.png",
			"黄博 深兰教育知识图谱专家",
			"领域大揭秘：【计算科学、人工智能】",
			"领域大揭秘：【计算科学、人工智能】",
			"https://www.lanboai.cn/list/lecture/1695832185417428994",
		),
	}
}

func NewJiangzuoMock() *JiangzuoMock {
	return &JiangzuoMock{}
}
